Utility.wrapTextComponents Method

Wraps every word (or piece) of a text-based String with a tag. Used to add support for ellipsis on overflow text.
 

Parameters

content

Type: String
Optional: True
options

Type: Object

     splitChar   [Type: String] - The char by which to split the text. Defaults to space.
     spanClass   [Type: String] - The class to add to each word (or piece).
 

Optional: True

Return Value


Type: jQuery